Consistent Composition and Testing of Components using Abstract State Machines

نویسندگان

  • Elvinia Riccobene
  • Angelo Gargantini
  • Marianna Nicolosi Asmundo
چکیده

Modelling complex systems in a coherent and rigorous way is a basic goal in system design. In particular, the integration of specifications could be a problematic operation having potentially severe side effects: when components of a system separately developed are combined together, they may intersect and overlap giving rise to inconsistencies and conflicts which have to be resolved in order to obtain a consistent system. Moreover, the substitution of old components with new ones or the introduction of new features in the system may affect the overall system behavior in an unpredictable way. For these reasons, the introduction of composition operations producing consistent systems is required. Along the process of system development, testing is also of extreme importance to produce high-quality products. Testing allows to uncover development and coding errors, to assess system reliability and dependability, and to convince customers that the performance is acceptable. Although, software testing is extremely costly and time-consuming, specification based testing [11] offers an opportunity to significantly reduce the testing costs. In specification based testing, a specification can be used as ”test oracle” [14], i.e. as authoritative font of the expected system behavior, and as way to assess correctness of implementations. Moreover, ”test adequacy criteria” can be derived from a specification [15]. They determine if a test suite is adequate to test a system, whether enough testing has been performed or further tests are needed. A specification can also provide ”selection criteria” of adequate test suites. Normally a selection criterion introduces some algorithms or techniques to actually generate test sequences from formal specifications. We address both problems of components integration and specification-based testing of components using (sequential) Abstract State Machines (ASMs). The choice of this formal method as a platform to construct rigorous integration operations for partial specifications and to define methods for generating test suites from high-level specifications, is intentional and it is due to the fact that, besides having been successfully used in practice for design and analysis of complex hardware/software systems [3], ASMs have evident theoretical foundations, clear and precise semantics [8, 9, 1].

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Consistent ASM Updates from Atomic Composition

We propose an approach to the consistent update problem of Abstract State Machines through a correctness preserving composition operator. Inconsistent updates are transparently isolated and cause local failure rather systemic failure. This is achieved by a source-to-source translation rather than changing the semantics of Abstract State Machines, thus preserving findings of previous studies on ...

متن کامل

A fully abstract trace semantics for UML components

We present a fully abstract semantics for UML components. This semantics is formalized in terms of a notion of trace for components, providing a description of the component externally observable behavior inspired by UML sequence diagrams. Such a description abstracts from the actual implementation given by UML state-machines. Our full abstraction result is based on a may testing semantics whic...

متن کامل

Fully Abstract Behavioral Types for UML Components

We present a fully abstract trace semantics for UML components. This semantics is formalized in terms of a new notion of abstract behavioral types for components, providing a description of the component externally observable behavior inspired by UML sequence diagrams. Such a description abstracts from the actual implementation given, for example, by UML state-machines. Our full abstraction res...

متن کامل

Linking architectural and component level system views

In hardware and software design model checkers are nowadays used with success to verify properties of system components [23]. The limits of the approach to cope with the size and the complexity of modern computer-based systems are felt when it comes to provide evidence of the trustworthiness of the entire system that has been built out of verified components. To achieve this task one has to exp...

متن کامل

Composition with Consistent Updates for Abstract State Machines

Abstract State Machines (asms) offer a formalism for describing state transitions over relational structures. This makes them promising for modeling system features such as access control, especially in an environment where the policy’s outcome depends on the evolving state of the system. The current notions of modularity for asms, however, provide insufficiently strong guarantees of consistenc...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002